.Net Framework > v3.5.21022.8 > System > Data > Linq > Table<TEntity> > Attach Attach(TEntity)
Attach(TEntity,Boolean)
Attach(TEntity,TEntity)


Attach(TEntity)

Category
Method
Description
Attaches a disconnected or "detached" entity to a new System.Data.Linq.DataContext when original values are required for optimistic concurrency checks.
Type
void
Character
public
Parameters
NameTypeDescription
entityTEntity
Tags
01892ABD01, 02E3ABA98D, 0322962271

Attach(TEntity,Boolean)

Category
Method
Description
Attaches an entity to the System.Data.Linq.DataContext in either a modified or unmodified state.
Type
void
Character
public
Parameters
NameTypeDescription
entityTEntity
asModifiedBoolean
Tags
01892ABD01, 02E3ABA98D, 0322962271

Attach(TEntity,TEntity)

Category
Method
Description
Attaches an entity to the System.Data.Linq.DataContext in either a modified or unmodified state by specifying both the entity and its original state.
Type
void
Character
public
Parameters
NameTypeDescription
entityTEntity
originalTEntity
Tags
01892ABD01, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database